import javax.swing.JCheckBox;
import javax.swing.JLabel;

//The Skeleton of an Item to store in the arrayList
public class InventoryItem {

	private String itemCategory;
	private String itemModel;
	private String itemSerial;
	private String itemNotes;
	private String location;
	private String user;

	private int indexInt;

	private JCheckBox itemCheckBox;
	private JLabel itemDeviceLabel;
	private JLabel itemModelLabel;

	//Constructor will all parameters met
	public InventoryItem(String serialID, String category, String model, String notes, String loc, String analyst){
		itemSerial = serialID;
		itemCategory = category;
		itemModel = model;
		itemNotes = notes;
		location = loc;
		user = analyst;
		
		itemCheckBox = new JCheckBox(serialID);
		itemDeviceLabel = new JLabel(category);
		if(model != null )
		
		itemModelLabel = new JLabel(model);
	
	}

	public void setIndexInt(int indexInt) {
		this.indexInt = indexInt;
	}

	public void setItemCheckBox(JCheckBox itemCheckBox) {
		this.itemCheckBox = itemCheckBox;
	}

	public String getItemCategory() {
		return itemCategory;
	}
	public String getLocation() {
		return location;
	}
	public String getUser() {
		return user;
	}

	public int getIndexInt() {
		return indexInt;
	}

	public JCheckBox getItemCheckBox() {
		return itemCheckBox;
	}

	public String getItemModel() {
		return itemModel;
	}

	public String getItemSerial() {
		return itemSerial;
	}

	public String getItemNotes() {
		return itemNotes;
	}

	public JLabel getItemDeviceLabel() {
		return itemDeviceLabel;
	}

	public void setItemSerialLabel(JLabel itemSerialLabel) {
		this.itemDeviceLabel = itemSerialLabel;
	}

	public JLabel getItemModelLabel() {
		return itemModelLabel;
	}

	public void setItemModelLabel(JLabel itemModelLabel) {
		this.itemModelLabel = itemModelLabel;
	}


}// ends class

